﻿<Window x:Class="Controls.ImageList"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="ImageList" Height="300" Width="300"
    >
  <ListBox Margin="5" SelectionMode="Multiple" Name="lst"  SelectionChanged="lst_SelectionChanged">
    <StackPanel Orientation="Horizontal">
      <Image Source="happyface.jpg"  Width="30" Height="30"></Image>
      <Label VerticalContentAlignment="Center">A happy face</Label>
    </StackPanel>
    <StackPanel Orientation="Horizontal">
      <Image Source="redx.jpg" Width="30" Height="30"></Image>
      <Label VerticalContentAlignment="Center">A warning sign</Label>
    </StackPanel>
    <StackPanel Orientation="Horizontal">
      <Image Source="happyface.jpg"  Width="30" Height="30"></Image>
      <Label VerticalContentAlignment="Center">A happy face</Label>
    </StackPanel>
  </ListBox>
</Window>
